//
//  UILabel+Extension.swift
//  Weibo-Swift
//
//  Created by law on 2018/8/27.
//  Copyright © 2018年 JKing. All rights reserved.
//

import Foundation

extension UILabel {
    
    convenience init(text: String, fontSize: CGFloat, color: UIColor) {
        self.init()
        self.text = text
        self.textColor = color
        self.font = UIFont.systemFont(ofSize: fontSize)
        self.numberOfLines = 0
        self.textAlignment = .center
    }
    
}
